home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Graphics Unleashed
/
PC Graphics Unleashed.iso
/
ch18
/
rtrace
/
header.h
< prev
next >
Wrap
Text File
|
1992-03-27
|
1KB
|
42 lines
eye X (2 * X) (1.5 * X)
at 0 0 0
up 0 1 0
fov 25
ambient mono 0.15
background light_sky_blue
light spot X X (X / 4) -X -X -(X /4) mono 0.8 60 1.5
light spot (X / 4) X X -(X / 4) -X -X 0.6 0.6 0.8 60 1.5
#define RAD 0.3
#define s0 surface matte white data
#define s1 surface matte blue data
#define s2 surface matte green data
#define s3 surface matte cyan data
#define s4 surface matte red data
#define s5 surface matte magenta data
#define s6 surface matte yellow data
#define s7 surface matte pink data
#define s8 surface matte brown data
#define s9 surface matte orange data
#define s10 surface matte coral data
#define s11 surface matte yellow_green data
#define s12 surface matte maroon data
#define s13 surface matte khaki data
#define s14 surface matte plum data
#define s15 surface matte sienna data
% add more if needed...
quadrangle
surface plastic 0.1 0.4 0.1 mono 0.5 0.5
transform scale 100
transform translate -X -X -X
data 1 0 1 1 0 -1 -1 0 -1 -1 0 1
quadrangle
surface plastic 0.1 0.1 0.6 mono 0.6 0.6
transform scale 100
transform translate -X -X -X
data 0 1 1 0 -1 1 0 -1 -1 0 1 -1
quadrangle
surface plastic 0.6 0.1 0.1 mono 0.7 0.7
transform scale 100
transform translate -X -X -X
data 1 1 0 -1 1 0 -1 -1 0 1 -1 0